<tr id="friend<%=friend.id%>">
	<td class="medblack" align="center" valign="middle"><%= link_to h(friend.Friend.name), :controller=>"view", :action=>"viewuser", :id=>friend.friend_id %>
	</td>
	<td class="medblack" align="center" valign="middle"><%=h(friend.created_time.to_date)%></td>
	<td align="center"><%= link_to_remote "删除", :url=>{:controller=>"view", :action=>"deletefriend", :id=>friend.id}, :confirm => "确定删除吗?", 
    :complete => "new Effect.Puff('friend#{friend.id}')" %>&nbsp;&nbsp;
    <%= link_to_remote "问候", :url=>{:controller=>"view", :action=>"showmessage", :id=>friend.friend_id},
    :loading => "Element.show('indicator')",:complete => "Element.hide('indicator')",:update=>"message" %></td>
</tr>
